package com.itfallrain.dao;

import com.itfallrain.entity.Car;

import java.util.List;
import java.util.Map;

public interface CarMapper {
    int deleteByPrimaryKey(String carId);
    int deleteKey(int id);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(String carId);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);
    //    查询行数
    Long getCarCount();
//    查询所有的数据
    List<Map<String,Object>> selectAll(Map<String,Object> map);
}